body {
  display: flow-root;
  margin: 0;
  font-family: PingFang SC, Poppins, Microsoft YaHei;
  min-height: 100vh;
  background: linear-gradient(45deg, #eed6f5, #d3e6f3);
}

.container {
  width: 400px;
  max-width: 100vw;
  margin: 30px auto;
  text-align: center;
  background-color: #fff5;
  padding: 20px;
  border-radius: 20px;
}

.form {
  background-color: #fff;
  border-radius: inherit;
  padding: inherit;
  opacity: 0.8;
}

.form h3 {
  text-align: left;
  margin: 0;
  margin-bottom: 10px;
  letter-spacing: 0.2em;
  width: max-content;
  color: transparent;
  background: linear-gradient(45deg, #c78ed8, #74bbeb);
  background-clip: text;
  -webkit-background-clip: text;
}

.form form {
  display: grid;
  grid-template-columns: 1fr 75px;
  gap: 50px;
}

.form form textarea {
  border: none;
  outline: none;
  font-family: inherit;
  resize: none;
}

.form form button {
  background: linear-gradient(45deg, #c78ed8, #499cd3);
  color: #eee;
  border-radius: 12px;
  font-size: small;
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
}

.list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li .complete-icon svg {
  width: 20px;
  transition: color 0.5s ease;
  cursor: pointer;
}

.list li .close-icon svg {
  width: 10px;
  cursor: pointer;
}

.list li {
  background-color: #fff;
  margin-top: 10px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 30px;
  text-align: left;
  padding: 10px;
  transition: color 0.5s ease;
}

.list li .complete-icon,
.list li .close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.list li.complete {
  opacity: 0.5;
}

.list li.complete .content {
  text-decoration: line-through;
}

.list li.complete .complete-icon svg {
  color: green;
}
